﻿using nplJobsCommon.Employeer;
using nplJobsDAL.Insert;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace nplJobsBLL.ProcessEmployeer
{
     public  class ProcessInserEmployeerContactPerson
    {
         public string checkUnique;
        public int lastEmployeerContactPersonID = 0;

        public ProcessInserEmployeerContactPerson()
        {
        }
        public EmployeerContactPerson EmployeerContactPerson { get; set; }
      
        public void invoke()
        {
            InsertContactPerson insertEmployeerContactPerson = new InsertContactPerson();
            insertEmployeerContactPerson.EmployeerContactPerson = this.EmployeerContactPerson;
            insertEmployeerContactPerson.invoke();
            lastEmployeerContactPersonID = insertEmployeerContactPerson.lastEmployeerContactPersonID;
            this.checkUnique = insertEmployeerContactPerson.checkUnique;
        }
    }
}
